package com.bootdo.common.domain;

import com.bootdo.util.UUIDUtil;

import java.io.Serializable;


/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-04-07 14:35:22
 */
public class FileAttatchmentDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private String uuid;
	//合同ID
	private String cid;
	//文件ID
	private String fid;
	private String type;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	/**
	 * 设置：
	 */
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	/**
	 * 获取：
	 */
	public String getUuid() {
		return uuid;
	}
	/**
	 * 设置：合同ID
	 */
	public void setCid(String cid) {
		this.cid = cid;
	}
	/**
	 * 获取：合同ID
	 */
	public String getCid() {
		return cid;
	}
	/**
	 * 设置：文件ID
	 */
	public void setFid(String fid) {
		this.fid = fid;
	}
	/**
	 * 获取：文件ID
	 */
	public String getFid() {
		return fid;
	}

	public FileAttatchmentDO(String cid, String fid) {
		this.uuid = UUIDUtil.getUUID();
		this.cid = cid;
		this.fid = fid;
	}
	public FileAttatchmentDO(String cid, String fid, String type) {
		this.uuid = UUIDUtil.getUUID();
		this.cid = cid;
		this.fid = fid;
		this.type = type;
	}

	public FileAttatchmentDO() {
	}

	@Override
	public String toString() {
		return "FileAttatchmentDO{" +
				"uuid='" + uuid + '\'' +
				", cid='" + cid + '\'' +
				", fid='" + fid + '\'' +
				'}';
	}
}
